/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.chapter5.designpatters.structuralpattern.bridgepattern.bridgepatternimpl;

import za.ac.cput.chapter5.designpatters.structuralpattern.bridgepattern.Vehicle;
import za.ac.cput.chapter5.designpatters.structuralpattern.bridgepattern.bridgepatterninterface.Engine;

/**
 *
 * @author Sakhe
 */
public class SmallCar extends Vehicle{
    
   public SmallCar(Engine engine){
  //  this.weightInKilos = 600;
   // this.engine = engine;
   }
    @Override
    public void drive(){
    System.out.println("nnThe smal l car is drivig");
   // int horsepower = engine.go();
   // reportOnSpeed(horsepower);
    }
}
